using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Core;
using System.Collections;

namespace Yuanlin.Business
{
    public class AquacultureSection_SectionRequest : TEntityRequest<AquacultureSection_Section>
    {
        public AquacultureSection_SectionRequest()
        {
            int? entityId = GetParameterValue<int?>(YuanlinParameterName.AquacultureSectionId);
            if (entityId.HasValue)
            {
                EntityId = entityId.Value;
            }
        }
    }
    public class AquacultureSection_SectionListRequest : TEntityListRequest<AquacultureSection_Section>
    {
        private int? aquacultureId = GetParameterValue<int?>(YuanlinParameterName.AquacultureId);
        private int? enabled = GetParameterValue<int?>(YuanlinParameterName.Enabled);
        private int? categoryType = GetParameterValue<int?>(YuanlinParameterName.CategoryType);
        private int? categoryId = GetParameterValue<int?>(YuanlinParameterName.CategoryId);

        public int? AquacultureId
        {
            get
            {
                return aquacultureId;
            }
            set
            {
                aquacultureId = value;
            }
        }
        public int? Enabled
        {
            get
            {
                return enabled;
            }
            set
            {
                enabled = value;
            }
        }
        public int? CategoryType
        {
            get
            {
                return categoryType;
            }
            set
            {
                categoryType = value;
            }
        }
        public int? CategoryId
        {
            get
            {
                return categoryId;
            }
            set
            {
                categoryId = value;
            }
        }
    }
    public class AquacultureSection_SectionReply : EntityReply
    {
    }
}